package com.hjp;

import java.util.Random;
import java.util.Scanner;
//生成哈夫曼树
//

public class Test2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()) {
            int m = in.nextInt();
            int n = in.nextInt();
            String[] str = new String[m];
            for (int i = 0; i < m; i++) {
                str[i] =in.nextLine();
            }

        }

    }
}
